﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013DB RID: 5083
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyEnterCsReq : IMessage<TrainPartyEnterCsReq>, IMessage, IEquatable<TrainPartyEnterCsReq>, IDeepCloneable<TrainPartyEnterCsReq>, IBufferMessage
	{
		// Token: 0x1700401D RID: 16413
		// (get) Token: 0x0600E3B0 RID: 58288 RVA: 0x00260DE3 File Offset: 0x0025EFE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyEnterCsReq> Parser
		{
			get
			{
				return TrainPartyEnterCsReq._parser;
			}
		}

		// Token: 0x1700401E RID: 16414
		// (get) Token: 0x0600E3B1 RID: 58289 RVA: 0x00260DEA File Offset: 0x0025EFEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyEnterCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700401F RID: 16415
		// (get) Token: 0x0600E3B2 RID: 58290 RVA: 0x00260DFC File Offset: 0x0025EFFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyEnterCsReq.Descriptor;
			}
		}

		// Token: 0x0600E3B3 RID: 58291 RVA: 0x00260E03 File Offset: 0x0025F003
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyEnterCsReq()
		{
		}

		// Token: 0x0600E3B4 RID: 58292 RVA: 0x00260E0B File Offset: 0x0025F00B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyEnterCsReq(TrainPartyEnterCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E3B5 RID: 58293 RVA: 0x00260E24 File Offset: 0x0025F024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyEnterCsReq Clone()
		{
			return new TrainPartyEnterCsReq(this);
		}

		// Token: 0x0600E3B6 RID: 58294 RVA: 0x00260E2C File Offset: 0x0025F02C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyEnterCsReq);
		}

		// Token: 0x0600E3B7 RID: 58295 RVA: 0x00260E3A File Offset: 0x0025F03A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyEnterCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600E3B8 RID: 58296 RVA: 0x00260E58 File Offset: 0x0025F058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E3B9 RID: 58297 RVA: 0x00260E7E File Offset: 0x0025F07E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E3BA RID: 58298 RVA: 0x00260E86 File Offset: 0x0025F086
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E3BB RID: 58299 RVA: 0x00260E8F File Offset: 0x0025F08F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E3BC RID: 58300 RVA: 0x00260EA8 File Offset: 0x0025F0A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E3BD RID: 58301 RVA: 0x00260ECE File Offset: 0x0025F0CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyEnterCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E3BE RID: 58302 RVA: 0x00260EEB File Offset: 0x0025F0EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E3BF RID: 58303 RVA: 0x00260EF4 File Offset: 0x0025F0F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005A1A RID: 23066
		private static readonly MessageParser<TrainPartyEnterCsReq> _parser = new MessageParser<TrainPartyEnterCsReq>(() => new TrainPartyEnterCsReq());

		// Token: 0x04005A1B RID: 23067
		private UnknownFieldSet _unknownFields;
	}
}
